package com.scanx.utils;

import java.io.File;

/**
 * @author alpha.
 * @className FileUtil
 * @date 2024/2/6 15:54
 */
public class FileUtil {


    public static boolean isEffective(File file) {
        return file != null && file.exists() && file.canRead();
    }
}
